# Description: Curses, Perl ile sisteminizin curses (3) kütüphanesi arasındaki arabirimdir.
# URL: http://search.cpan.org/~giraffed/Curses-1.34/Curses.pm
# Packager : milisarge
# Depends on:   

name=perl-curses
version=1.34
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-$version.tar.gz)

build() {
    cd Curses-$version

	perl Makefile.PL
	make CC="${CC:-gcc}" LD="${CC:-gcc}" OPTIMIZE="$CFLAGS"
	make DESTDIR=$PKG install

	find $PKG -type f \( \
		-name ".packlist" -o \
		-name "*.bs" -o \
		-name "autosplit.ix" -o \
		-name "perllocal.pod" \) -delete

	find $PKG -depth -empty -delete

}
